#pragma once
#include<Windows.h>
#include<tchar.h>

#define EXIT_NORMALLY 0
#define ERROR_CANNOT_OPEN_SRC_FILE 1
#define ERROR_CANNOT_OPEN_DST_FILE 2
#define ERROR_BUFFER_TOO_SMALL 3

#define CONFIG_FILE _T("/config.ini")
#define SECTION_NAME _T("ENCODE")


#define BUFFER_SIZE (1<<20)
errno_t EncodeFile(_TCHAR * source,_TCHAR * destine);
